package com.jinghao.ctws.entity;

import java.util.Date;

import com.jinghao.core.common.entity.JingHaoBaseEntity;
import com.jinghao.core.common.util.IJingHaoConfiguration.JhCf;
import com.jinghao.core.common.util.IJingHaoConfiguration.JhField;
import com.jinghao.core.common.util.IJingHaoConfiguration.JhTable;

/**
 * (CwvPallet)模型对象
 * 
 * @version 1.0
 * @author: 244684437@qq.com
 */
@JhTable(
	jhfields={
		@JhField(jhCf=JhCf.UNID,property="palletUnid"),
		@JhField(jhCf=JhCf.UUID,property="palletUuid"), 
		@JhField(jhCf=JhCf.STATUS,property="urlStatus")
	},
	note = ""
)
public class CwvPallet extends JingHaoBaseEntity<CwvPallet> {
	//======================字段列表========================
	/** 托盘标识UNID */
	private Integer	palletUnid;

	/** 托盘标识UUID */
	private String	palletUuid;

	/** 托盘编号 */
	private String	palletId;

	/** URL地址 */
	private String	urlLink;

	/** 是否生成链接（0:未生成;1:已生成） */
	private Integer	urlStatus;

	/** 仓库标识UUID */
	private String	fjhorgUuid;

	/** 流程UUID */
	private String	fflowUuid;

	/** 创建时间 */
	private Date	createTime;

	/** 上传时间 */
	private Date	uploadTime;

	/** 新的文件名称 */
	private String	newFileName;

	public Integer getPalletUnid() {
		return this.palletUnid;
	}

	public void setPalletUnid(Integer palletUnid) {
		this.palletUnid = palletUnid;
	}

	public String getPalletUuid() {
		return this.palletUuid;
	}

	public void setPalletUuid(String palletUuid) {
		this.palletUuid = palletUuid;
	}

	public String getPalletId() {
		return this.palletId;
	}

	public void setPalletId(String palletId) {
		this.palletId = palletId;
	}

	public String getUrlLink() {
		return this.urlLink;
	}

	public void setUrlLink(String urlLink) {
		this.urlLink = urlLink;
	}

	public Integer getUrlStatus() {
		return this.urlStatus;
	}

	public void setUrlStatus(Integer urlStatus) {
		this.urlStatus = urlStatus;
	}

	public String getFjhorgUuid() {
		return this.fjhorgUuid;
	}

	public void setFjhorgUuid(String fjhorgUuid) {
		this.fjhorgUuid = fjhorgUuid;
	}

	public String getFflowUuid() {
		return this.fflowUuid;
	}

	public void setFflowUuid(String fflowUuid) {
		this.fflowUuid = fflowUuid;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUploadTime() {
		return this.uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	public String getNewFileName() {
		return this.newFileName;
	}

	public void setNewFileName(String newFileName) {
		this.newFileName = newFileName;
	}

	public String toString() {
		StringBuffer buffer = new StringBuffer(super.toString());
		buffer.append("\n");
		buffer.append("\tpalletUnid(托盘标识UNID):").append(palletUnid);
		buffer.append("\tpalletUuid(托盘标识UUID):").append(palletUuid);
		buffer.append("\tpalletId(托盘编号):").append(palletId);
		buffer.append("\turlLink(URL地址):").append(urlLink);
		buffer.append("\n");
		buffer.append("\turlStatus(是否生成链接（0:未生成;1:已生成）):").append(urlStatus);
		buffer.append("\tfjhorgUuid(仓库标识UUID):").append(fjhorgUuid);
		buffer.append("\tfflowUuid(流程UUID):").append(fflowUuid);
		buffer.append("\tcreateTime(创建时间):").append(createTime);
		buffer.append("\n");
		buffer.append("\tuploadTime(上传时间):").append(uploadTime);
		buffer.append("\tnewFileName(新的文件名称):").append(newFileName);
		return buffer.toString();
	}
	//==================定制内容开始======================
	  public enum ECwvPallet {
	    	/**0:未生成**/
		   	urlStatus_0(0,"未生成"),
	    	/**1:已生成**/
		   	urlStatus_1(1,"已生成");
		   
	    	private int key;
	    	private String msg;
	    	ECwvPallet(int key,String msg) {
				this.key = key;
				this.msg=msg;
			}
	    	public int getKey(){
	    		return this.key;
	    	}
	    }
	//==================定制内容结束======================
}
